package com.guigu.www.service.impl;

import com.guigu.www.pojo.TMentalityResult;
import com.guigu.www.mapper.TMentalityResultMapper;
import com.guigu.www.service.TMentalityResultService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 心理测评结果 服务实现类
 * </p>
 *
 * @author yb
 * @since 2021-06-26
 */
@Service
public class TMentalityResultServiceImpl extends ServiceImpl<TMentalityResultMapper, TMentalityResult> implements TMentalityResultService {

    @Autowired
    TMentalityResultMapper dao;

    @Override
    public void addtr(TMentalityResult tMentalityResult) {
        dao.addtr(tMentalityResult);
    }

    @Override
    public TMentalityResult seltmresule(TMentalityResult tMentalityResult) {
        return dao.seltmresule(tMentalityResult);
    }
}
